import pandas as pd
import datetime


df = pd.read_csv('test/enDates.csv')

df = df.assign(zhdate=df['endate'].apply(lambda x:datetime.datetime.strftime(datetime.datetime.strptime(x, "%B %d, %Y"), "%Y-%m-%d")))

df.to_csv('test/zhDates.csv',header=0)